home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / prog / cbuff09.arj / MISC.ARJ / CBUFF.STY < prev    next >
LaTeX Document  |  1993-11-16  |  3.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Labeler/Labels Unlimited Style (other/labelerStyle) ext Unsupported
1% dexvert LithTech engine sound Style (other/lithTechEngineSoundStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert Stanford Graphics Style master (other/stanfordGraphicsStyleMaster) ext Unsupported
1% dexvert Beyond Words Composer Style (other/beyondWordsComposerStyle) ext Unsupported
1% dexvert Grand Theft Auto 2 Style data (other/grandTheftAuto2StyleData) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert MAGIX music studio Style (other/magixMusicStudioStyle) ext Unsupported
1% dexvert RIO Scene (other/rioScene) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 20 20 24 49 64 24 | 0a 25 20 20 20 0a 25 20 |% $Id$|.% .% |
|00000010| 20 20 46 69 6c 65 09 63 | 62 75 66 66 2e 73 74 79 | File.c|buff.sty|
|00000020| 0a 25 20 20 20 50 61 72 | 74 20 6f 66 09 43 68 65 |.% Par|t of.Che|
|00000030| 73 73 42 61 73 65 20 75 | 74 69 6c 69 74 69 65 73 |ssBase u|tilities|
|00000040| 20 66 69 6c 65 20 66 6f | 72 6d 61 74 20 28 43 42 | file fo|rmat (CB|
|00000050| 55 46 46 29 0a 25 20 20 | 20 41 75 74 68 6f 72 09 |UFF).% | Author.|
|00000060| 41 6e 6a 6f 20 41 6e 6a | 65 77 69 65 72 64 65 6e |Anjo Anj|ewierden|
|00000070| 2c 20 61 6e 6a 6f 40 73 | 77 69 2e 70 73 79 2e 75 |, anjo@s|wi.psy.u|
|00000080| 76 61 2e 6e 6c 0a 25 09 | 09 62 61 73 65 64 20 6f |va.nl.%.|.based o|
|00000090| 6e 20 50 69 65 74 20 54 | 75 74 65 6c 61 65 72 27 |n Piet T|utelaer'|
|000000a0| 73 20 63 68 65 73 73 20 | 6d 61 63 72 6f 27 73 0a |s chess |macro's.|
|000000b0| 25 20 20 20 50 75 72 70 | 6f 73 65 09 4c 61 54 65 |% Purp|ose.LaTe|
|000000c0| 58 20 73 74 79 6c 65 20 | 66 69 6c 65 20 66 6f 72 |X style |file for|
|000000d0| 20 43 42 55 46 46 0a 25 | 20 20 20 57 6f 72 6b 73 | CBUFF.%| Works|
|000000e0| 20 77 69 74 68 09 4c 61 | 54 65 58 0a 25 20 20 20 | with.La|TeX.% |
|000000f0| 0a 25 20 20 20 4e 6f 74 | 69 63 65 09 43 6f 70 79 |.% Not|ice.Copy|
|00000100| 72 69 67 68 74 20 28 63 | 29 20 31 39 39 33 20 20 |right (c|) 1993 |
|00000110| 41 6e 6a 6f 20 41 6e 6a | 65 77 69 65 72 64 65 6e |Anjo Anj|ewierden|
|00000120| 0a 25 20 20 20 0a 25 20 | 20 20 48 69 73 74 6f 72 |.% .% | Histor|
|00000130| 79 09 31 34 2f 30 37 2f | 39 33 20 20 28 43 72 65 |y.14/07/|93 (Cre|
|00000140| 61 74 65 64 29 0a 25 20 | 20 20 09 09 33 31 2f 30 |ated).% | ..31/0|
|00000150| 38 2f 39 33 20 20 28 46 | 6c 6f 61 74 69 6e 67 20 |8/93 (F|loating |
|00000160| 64 69 61 67 72 61 6d 73 | 3b 20 50 54 29 0a 25 20 |diagrams|; PT).% |
|00000170| 20 20 09 09 33 31 2f 30 | 38 2f 39 33 20 20 28 4c | ..31/0|8/93 (L|
|00000180| 61 73 74 20 6d 6f 64 69 | 66 69 65 64 29 0a 0a 25 |ast modi|fied)..%|
|00000190| 20 52 65 64 65 66 69 6e | 65 20 63 68 65 73 73 2e | Redefin|e chess.|
|000001a0| 73 74 79 20 74 6f 20 67 | 65 74 20 73 69 6d 69 6c |sty to g|et simil|
|000001b0| 61 72 20 6c 61 79 6f 75 | 74 20 61 73 20 69 6e 20 |ar layou|t as in |
|000001c0| 49 6e 66 6f 72 6d 61 74 | 6f 72 0a 5c 6d 61 6b 65 |Informat|or.\make|
|000001d0| 61 74 6c 65 74 74 65 72 | 0a 5c 67 64 65 66 5c 40 |atletter|.\gdef\@|
|000001e0| 64 6f 74 73 7b 5c 6c 64 | 6f 74 73 7d 0a 5c 72 65 |dots{\ld|ots}.\re|
|000001f0| 73 65 74 61 74 0a 0a 5c | 6e 65 77 6c 65 6e 67 74 |setat..\|newlengt|
|00000200| 68 7b 5c 61 72 72 6f 77 | 77 69 64 74 68 7d 0a 5c |h{\arrow|width}.\|
|00000210| 6e 65 77 6c 65 6e 67 74 | 68 7b 5c 70 6c 75 73 77 |newlengt|h{\plusw|
|00000220| 69 64 74 68 7d 0a 5c 73 | 65 74 74 6f 77 69 64 74 |idth}.\s|ettowidt|
|00000230| 68 7b 5c 61 72 72 6f 77 | 77 69 64 74 68 7d 7b 24 |h{\arrow|width}{$|
|00000240| 5c 6c 65 66 74 61 72 72 | 6f 77 24 7d 0a 5c 73 65 |\leftarr|ow$}.\se|
|00000250| 74 74 6f 77 69 64 74 68 | 7b 5c 70 6c 75 73 77 69 |ttowidth|{\pluswi|
|00000260| 64 74 68 7d 7b 2b 7d 0a | 5c 6e 65 77 63 6f 6d 6d |dth}{+}.|\newcomm|
|00000270| 61 6e 64 7b 5c 62 6f 74 | 68 61 72 72 6f 77 7d 7b |and{\bot|harrow}{|
|00000280| 5c 6d 62 6f 78 7b 5c 72 | 61 69 73 65 62 6f 78 7b |\mbox{\r|aisebox{|
|00000290| 31 70 74 7d 7b 24 5c 6c | 65 66 74 61 72 72 6f 77 |1pt}{$\l|eftarrow|
|000002a0| 24 7d 5c 68 73 70 61 63 | 65 2a 7b 2d 5c 61 72 72 |$}\hspac|e*{-\arr|
|000002b0| 6f 77 77 69 64 74 68 7d | 5c 72 61 69 73 65 62 6f |owwidth}|\raisebo|
|000002c0| 78 7b 2d 32 70 74 7d 7b | 24 5c 72 69 67 68 74 61 |x{-2pt}{|$\righta|
|000002d0| 72 72 6f 77 24 7d 7d 7d | 0a 5c 6e 65 77 63 6f 6d |rrow$}}}|.\newcom|
|000002e0| 6d 61 6e 64 7b 5c 70 6c | 75 73 69 73 7d 7b 5c 6d |mand{\pl|usis}{\m|
|000002f0| 62 6f 78 7b 5c 73 6d 61 | 6c 6c 5c 72 61 69 73 65 |box{\sma|ll\raise|
|00000300| 62 6f 78 7b 33 70 74 7d | 7b 24 2b 24 7d 5c 68 73 |box{3pt}|{$+$}\hs|
|00000310| 70 61 63 65 2a 7b 2d 5c | 70 6c 75 73 77 69 64 74 |pace*{-\|pluswidt|
|00000320| 68 7d 5c 72 61 69 73 65 | 62 6f 78 7b 2d 32 70 74 |h}\raise|box{-2pt|
|00000330| 7d 7b 24 3d 24 7d 7d 7d | 0a 5c 6e 65 77 63 6f 6d |}{$=$}}}|.\newcom|
|00000340| 6d 61 6e 64 7b 5c 69 73 | 70 6c 75 73 7d 7b 5c 6d |mand{\is|plus}{\m|
|00000350| 62 6f 78 7b 5c 73 6d 61 | 6c 6c 5c 72 61 69 73 65 |box{\sma|ll\raise|
|00000360| 62 6f 78 7b 34 70 74 7d | 7b 24 3d 24 7d 5c 68 73 |box{4pt}|{$=$}\hs|
|00000370| 70 61 63 65 2a 7b 2d 5c | 70 6c 75 73 77 69 64 74 |pace*{-\|pluswidt|
|00000380| 68 7d 5c 72 61 69 73 65 | 62 6f 78 7b 2d 31 70 74 |h}\raise|box{-1pt|
|00000390| 7d 7b 24 2b 24 7d 7d 7d | 0a 5c 6e 65 77 63 6f 6d |}{$+$}}}|.\newcom|
|000003a0| 6d 61 6e 64 7b 5c 62 6f | 74 74 6f 6d 72 69 67 68 |mand{\bo|ttomrigh|
|000003b0| 74 7d 7b 5c 6d 62 6f 78 | 7b 7d 7d 0a 5c 6e 65 77 |t}{\mbox|{}}.\new|
|000003c0| 63 6f 6d 6d 61 6e 64 7b | 5c 62 6f 74 74 6f 6d 6c |command{|\bottoml|
|000003d0| 65 66 74 7d 7b 5c 6d 62 | 6f 78 7b 7d 7d 0a 5c 6e |eft}{\mb|ox{}}.\n|
|000003e0| 65 77 63 6f 6d 6d 61 6e | 64 7b 5c 73 6d 61 6c 6c |ewcomman|d{\small|
|000003f0| 73 70 61 63 65 7d 7b 7b | 5c 68 73 6b 69 70 2e 31 |space}{{|\hskip.1|
|00000400| 65 6d 5c 20 7d 7d 0a 5c | 6e 65 77 63 6f 6d 6d 61 |em\ }}.\|newcomma|
|00000410| 6e 64 7b 5c 68 61 6c 66 | 7d 7b 24 5c 66 72 61 63 |nd{\half|}{$\frac|
|00000420| 7b 31 7d 7b 32 7d 24 7d | 0a 5c 6e 65 77 63 6f 6d |{1}{2}$}|.\newcom|
|00000430| 6d 61 6e 64 7b 5c 64 72 | 61 77 7d 7b 24 5c 66 72 |mand{\dr|aw}{$\fr|
|00000440| 61 63 7b 31 7d 7b 32 7d | 24 3a 24 5c 66 72 61 63 |ac{1}{2}|$:$\frac|
|00000450| 7b 31 7d 7b 32 7d 24 7d | 0a 5c 6e 65 77 63 6f 6d |{1}{2}$}|.\newcom|
|00000460| 6d 61 6e 64 7b 5c 71 75 | 61 72 74 65 72 7d 7b 5c |mand{\qu|arter}{\|
|00000470| 72 61 69 73 65 62 6f 78 | 7b 33 70 74 7d 7b 5c 74 |raisebox|{3pt}{\t|
|00000480| 69 6e 79 24 5c 66 72 61 | 63 7b 31 7d 7b 34 7d 24 |iny$\fra|c{1}{4}$|
|00000490| 7d 7d 0a 5c 6e 65 77 63 | 6f 6d 6d 61 6e 64 7b 5c |}}.\newc|ommand{\|
|000004a0| 74 68 72 65 65 71 75 61 | 72 74 65 72 7d 7b 5c 72 |threequa|rter}{\r|
|000004b0| 61 69 73 65 62 6f 78 7b | 33 70 74 7d 7b 5c 74 69 |aisebox{|3pt}{\ti|
|000004c0| 6e 79 24 5c 66 72 61 63 | 7b 33 7d 7b 34 7d 24 7d |ny$\frac|{3}{4}$}|
|000004d0| 7d 0a 5c 6e 65 77 63 6f | 75 6e 74 65 72 7b 67 61 |}.\newco|unter{ga|
|000004e0| 6d 65 6e 6f 7d 20 5c 73 | 65 74 63 6f 75 6e 74 65 |meno} \s|etcounte|
|000004f0| 72 7b 67 61 6d 65 6e 6f | 7d 7b 31 7d 0a 5c 6e 65 |r{gameno|}{1}.\ne|
|00000500| 77 63 6f 75 6e 74 65 72 | 7b 64 69 61 67 72 61 6d |wcounter|{diagram|
|00000510| 6e 6f 7d 20 5c 73 65 74 | 63 6f 75 6e 74 65 72 7b |no} \set|counter{|
|00000520| 64 69 61 67 72 61 6d 6e | 6f 7d 7b 31 7d 0a 5c 6e |diagramn|o}{1}.\n|
|00000530| 65 77 63 6f 6d 6d 61 6e | 64 7b 5c 6e 6f 67 61 6d |ewcomman|d{\nogam|
|00000540| 65 7d 5b 30 5d 7b 5c 61 | 64 64 74 6f 63 6f 75 6e |e}[0]{\a|ddtocoun|
|00000550| 74 65 72 7b 67 61 6d 65 | 6e 6f 7d 7b 31 7d 7d 0a |ter{game|no}{1}}.|
|00000560| 0a 5c 64 65 66 5c 6d 6f | 76 65 73 7b 5c 6c 69 73 |.\def\mo|ves{\lis|
|00000570| 74 7b 7d 7b 0a 20 5c 69 | 74 65 6d 69 6e 64 65 6e |t{}{. \i|teminden|
|00000580| 74 5c 6c 69 73 74 70 61 | 72 69 6e 64 65 6e 74 5c |t\listpa|rindent\|
|00000590| 74 6f 70 73 65 70 20 30 | 70 74 5c 70 61 72 74 6f |topsep 0|pt\parto|
|000005a0| 70 73 65 70 20 30 70 74 | 0a 20 5c 72 69 67 68 74 |psep 0pt|. \right|
|000005b0| 6d 61 72 67 69 6e 5c 6c | 65 66 74 6d 61 72 67 69 |margin\l|eftmargi|
|000005c0| 6e 20 5c 70 61 72 73 65 | 70 20 30 70 74 20 70 6c |n \parse|p 0pt pl|
|000005d0| 75 73 20 31 70 74 7d 5c | 69 74 65 6d 5b 5d 7d 0a |us 1pt}\|item[]}.|
|000005e0| 5c 6c 65 74 5c 65 6e 64 | 6d 6f 76 65 73 3d 5c 65 |\let\end|moves=\e|
|000005f0| 6e 64 6c 69 73 74 0a 0a | 5c 73 65 74 6c 65 6e 67 |ndlist..|\setleng|
|00000600| 74 68 7b 5c 70 61 72 69 | 6e 64 65 6e 74 7d 7b 30 |th{\pari|ndent}{0|
|00000610| 70 74 7d 0a 0a 25 20 20 | 47 61 6d 65 20 69 6e 20 |pt}..% |Game in |
|00000620| 74 68 65 20 73 74 79 6c | 65 20 6f 66 20 74 68 65 |the styl|e of the|
|00000630| 20 43 68 65 73 73 20 49 | 6e 66 6f 72 6d 61 6e 74 | Chess I|nformant|
|00000640| 0a 25 20 20 28 49 66 20 | 61 6e 79 6f 6e 65 20 6b |.% (If |anyone k|
|00000650| 6e 6f 77 73 20 68 6f 77 | 20 74 6f 20 63 75 74 20 |nows how| to cut |
|00000660| 64 6f 77 6e 20 6f 6e 20 | 74 68 65 20 61 6d 6f 75 |down on |the amou|
|00000670| 6e 74 20 6f 66 20 73 70 | 61 63 65 0a 25 20 20 20 |nt of sp|ace.% |
|00000680| 62 65 74 77 65 65 6e 20 | 67 61 6d 65 73 2c 20 77 |between |games, w|
|00000690| 68 69 6c 65 20 73 74 69 | 6c 6c 20 65 6e 73 75 72 |hile sti|ll ensur|
|000006a0| 69 6e 67 20 74 68 61 74 | 20 61 74 20 6c 65 61 73 |ing that| at leas|
|000006b0| 74 20 74 68 65 0a 25 20 | 20 20 66 69 72 73 74 20 |t the.% | first |
|000006c0| 6d 6f 76 65 20 69 73 20 | 70 72 69 6e 74 65 64 20 |move is |printed |
|000006d0| 69 6e 20 74 68 65 20 73 | 61 6d 65 20 63 6f 6c 75 |in the s|ame colu|
|000006e0| 6d 6e 20 61 73 20 74 68 | 65 20 67 61 6d 65 0a 25 |mn as th|e game.%|
|000006f0| 20 20 20 68 65 61 64 65 | 72 2c 20 49 20 77 6f 75 | heade|r, I wou|
|00000700| 6c 64 20 6c 69 6b 65 20 | 74 6f 20 6b 6e 6f 77 20 |ld like |to know |
|00000710| 28 61 6e 6a 6f 40 73 77 | 69 2e 70 73 79 2e 75 76 |(anjo@sw|i.psy.uv|
|00000720| 61 2e 6e 6c 29 2e 0a 5c | 6e 65 77 63 6f 6d 6d 61 |a.nl)..\|newcomma|
|00000730| 6e 64 7b 5c 69 6e 66 6f | 72 6d 61 6e 74 67 61 6d |nd{\info|rmantgam|
|00000740| 65 7d 5b 35 5d 7b 5c 76 | 66 69 6c 6c 25 5c 70 61 |e}[5]{\v|fill%\pa|
|00000750| 72 0a 09 5c 70 61 72 62 | 6f 78 7b 5c 63 6f 6c 75 |r..\parb|ox{\colu|
|00000760| 6d 6e 77 69 64 74 68 7d | 7b 5c 72 6d 20 25 0a 09 |mnwidth}|{\rm %..|
|00000770| 5c 62 65 67 69 6e 7b 63 | 65 6e 74 65 72 7d 0a 09 |\begin{c|enter}..|
|00000780| 5c 6d 61 6b 65 62 6f 78 | 5b 5c 63 6f 6c 75 6d 6e |\makebox|[\column|
|00000790| 77 69 64 74 68 5d 7b 7b | 5c 62 66 20 5c 6d 61 6b |width]{{|\bf \mak|
|000007a0| 65 62 6f 78 5b 30 70 74 | 5d 5b 6c 5d 7b 5c 74 68 |ebox[0pt|][l]{\th|
|000007b0| 65 67 61 6d 65 6e 6f 2e | 7d 7d 0a 09 09 09 20 5c |egameno.|}}.... \|
|000007c0| 68 66 69 6c 6c 20 5c 6d | 61 6b 65 62 6f 78 5b 30 |hfill \m|akebox[0|
|000007d0| 70 74 5d 5b 63 5d 7b 23 | 32 7d 0a 09 09 09 20 5c |pt][c]{#|2}.... \|
|000007e0| 68 66 69 6c 6c 20 5c 62 | 66 20 5c 6d 61 6b 65 62 |hfill \b|f \makeb|
|000007f0| 6f 78 5b 30 70 74 5d 5b | 72 5d 7b 23 31 7d 7d 5c |ox[0pt][|r]{#1}}\|
|00000800| 5c 5b 33 70 74 5d 0a 09 | 7b 23 33 20 2d 2d 2d 20 |\[3pt]..|{#3 --- |
|00000810| 23 34 7d 20 5c 5c 0a 09 | 7b 5c 73 6c 20 23 35 7d |#4} \\..|{\sl #5}|
|00000820| 0a 09 5c 65 6e 64 7b 63 | 65 6e 74 65 72 7d 5c 6e |..\end{c|enter}\n|
|00000830| 6f 70 61 67 65 62 72 65 | 61 6b 7d 0a 09 5c 61 64 |opagebre|ak}..\ad|
|00000840| 64 74 6f 63 6f 75 6e 74 | 65 72 7b 67 61 6d 65 6e |dtocount|er{gamen|
|00000850| 6f 7d 7b 31 7d 7d 0a 0a | 5c 6e 65 77 65 6e 76 69 |o}{1}}..|\newenvi|
|00000860| 72 6f 6e 6d 65 6e 74 7b | 69 6e 66 6f 72 6d 61 6e |ronment{|informan|
|00000870| 74 6d 61 69 6e 6c 69 6e | 65 7d 5b 32 5d 7b 5c 62 |tmainlin|e}[2]{\b|
|00000880| 66 5c 6e 65 77 63 6f 6d | 6d 61 6e 64 7b 5c 72 65 |f\newcom|mand{\re|
|00000890| 73 75 6c 74 7d 7b 23 31 | 7d 25 0a 20 20 20 5c 6e |sult}{#1|}%. \n|
|000008a0| 65 77 63 6f 6d 6d 61 6e | 64 7b 5c 63 6f 6d 6d 65 |ewcomman|d{\comme|
|000008b0| 6e 74 61 74 6f 72 7d 7b | 23 32 7d 5c 62 65 67 69 |ntator}{|#2}\begi|
|000008c0| 6e 7b 63 68 65 73 73 7d | 7d 25 0a 20 20 20 7b 5c |n{chess}|}%. {\|
|000008d0| 65 6e 64 7b 63 68 65 73 | 73 7d 5c 69 6e 66 6f 72 |end{ches|s}\infor|
|000008e0| 6d 61 6e 74 73 63 6f 72 | 65 7b 5c 72 65 73 75 6c |mantscor|e{\resul|
|000008f0| 74 7d 7b 5c 63 6f 6d 6d | 65 6e 74 61 74 6f 72 7d |t}{\comm|entator}|
|00000900| 7d 0a 5c 6e 65 77 65 6e | 76 69 72 6f 6e 6d 65 6e |}.\newen|vironmen|
|00000910| 74 7b 69 6e 66 6f 72 6d | 61 6e 74 76 61 72 69 61 |t{inform|antvaria|
|00000920| 74 69 6f 6e 7d 7b 5b 5c | 62 65 67 69 6e 67 72 6f |tion}{[\|begingro|
|00000930| 75 70 5c 72 6d 5c 69 67 | 6e 6f 72 65 73 70 61 63 |up\rm\ig|norespac|
|00000940| 65 73 7d 25 0a 20 20 20 | 7b 5c 65 6e 64 67 72 6f |es}%. |{\endgro|
|00000950| 75 70 5d 5c 69 67 6e 6f | 72 65 73 70 61 63 65 73 |up]\igno|respaces|
|00000960| 7d 0a 5c 6e 65 77 65 6e | 76 69 72 6f 6e 6d 65 6e |}.\newen|vironmen|
|00000970| 74 7b 69 6e 66 6f 72 6d | 61 6e 74 63 6f 6d 6d 65 |t{inform|antcomme|
|00000980| 6e 74 7d 7b 5c 62 65 67 | 69 6e 7b 6e 6f 63 68 65 |nt}{\beg|in{noche|
|00000990| 73 73 7d 5c 62 65 67 69 | 6e 67 72 6f 75 70 5c 72 |ss}\begi|ngroup\r|
|000009a0| 6d 5c 69 67 6e 6f 72 65 | 73 70 61 63 65 73 7d 25 |m\ignore|spaces}%|
|000009b0| 0a 20 20 20 7b 5c 65 6e | 64 7b 6e 6f 63 68 65 73 |. {\en|d{noches|
|000009c0| 73 7d 5c 65 6e 64 67 72 | 6f 75 70 5c 69 67 6e 6f |s}\endgr|oup\igno|
|000009d0| 72 65 73 70 61 63 65 73 | 7d 0a 5c 6e 65 77 63 6f |respaces|}.\newco|
|000009e0| 6d 6d 61 6e 64 7b 5c 69 | 6e 66 6f 72 6d 61 6e 74 |mmand{\i|nformant|
|000009f0| 73 63 6f 72 65 7d 5b 32 | 5d 7b 7b 5c 62 66 5c 68 |score}[2|]{{\bf\h|
|00000a00| 66 69 6c 6c 23 31 5c 68 | 66 69 6c 6c 23 32 5c 70 |fill#1\h|fill#2\p|
|00000a10| 61 72 7d 7d 0a 0a 25 5c | 6e 65 77 65 6e 76 69 72 |ar}}..%\|newenvir|
|00000a20| 6f 6e 6d 65 6e 74 7b 6d | 6f 76 65 73 7d 7b 5c 62 |onment{m|oves}{\b|
|00000a30| 66 5c 62 65 67 69 6e 7b | 71 75 6f 74 65 7d 7d 7b |f\begin{|quote}}{|
|00000a40| 5c 65 6e 64 7b 71 75 6f | 74 65 7d 7d 0a 0a 0a 25 |\end{quo|te}}...%|
|00000a50| 20 64 69 61 67 72 61 6d | 20 65 6e 76 69 72 6f 6e | diagram| environ|
|00000a60| 6d 65 6e 74 20 70 72 6f | 76 69 64 65 73 3a 0a 25 |ment pro|vides:.%|
|00000a70| 20 20 2d 20 61 75 74 6f | 6d 61 74 69 63 20 6e 75 | - auto|matic nu|
|00000a80| 6d 62 65 72 69 6e 67 0a | 25 20 20 2d 20 69 66 20 |mbering.|% - if |
|00000a90| 61 20 64 69 61 67 72 61 | 6d 20 64 6f 65 73 20 6e |a diagra|m does n|
|00000aa0| 6f 74 20 66 69 74 20 69 | 6e 20 74 68 65 20 74 65 |ot fit i|n the te|
|00000ab0| 78 74 20 74 68 65 6e 20 | 69 74 20 77 69 6c 6c 20 |xt then |it will |
|00000ac0| 66 6c 6f 61 74 0a 25 20 | 20 20 20 74 6f 20 74 68 |float.% | to th|
|00000ad0| 65 20 74 6f 70 20 6f 72 | 20 62 6f 74 74 6f 6d 20 |e top or| bottom |
|00000ae0| 61 6e 64 20 74 68 65 20 | 70 6c 61 63 65 20 77 68 |and the |place wh|
|00000af0| 65 72 65 20 69 74 20 73 | 68 6f 75 6c 64 20 6f 63 |ere it s|hould oc|
|00000b00| 63 75 72 20 63 6f 6e 74 | 61 69 6e 73 20 61 0a 25 |cur cont|ains a.%|
|00000b10| 20 20 20 20 72 65 66 65 | 72 65 6e 63 65 20 74 6f | refe|rence to|
|00000b20| 20 74 68 65 20 64 69 61 | 67 72 61 6d 20 6e 75 6d | the dia|gram num|
|00000b30| 62 65 72 2e 0a 25 20 4c | 61 54 65 58 20 64 6f 65 |ber..% L|aTeX doe|
|00000b40| 73 20 6e 6f 74 20 70 72 | 6f 76 69 64 65 20 61 6e |s not pr|ovide an|
|00000b50| 20 65 61 73 79 20 77 61 | 79 20 74 6f 20 74 65 73 | easy wa|y to tes|
|00000b60| 74 20 69 66 20 74 68 65 | 20 72 65 66 65 72 65 6e |t if the| referen|
|00000b70| 63 65 20 66 69 74 73 20 | 6f 6e 20 74 68 65 0a 25 |ce fits |on the.%|
|00000b80| 20 63 75 72 72 65 6e 74 | 20 70 61 67 65 2e 20 49 | current| page. I|
|00000b90| 66 20 69 74 20 64 6f 65 | 73 20 6e 6f 74 20 66 69 |f it doe|s not fi|
|00000ba0| 74 20 74 68 65 20 64 69 | 61 67 72 61 6d 20 61 6e |t the di|agram an|
|00000bb0| 64 20 74 68 65 20 72 65 | 66 65 72 65 6e 63 65 20 |d the re|ference |
|00000bc0| 77 69 6c 6c 20 66 6c 6f | 61 74 0a 25 20 74 6f 20 |will flo|at.% to |
|00000bd0| 74 68 65 20 6e 65 78 74 | 20 63 6f 6c 75 6d 6e 2e |the next| column.|
|00000be0| 20 42 79 20 61 64 64 69 | 6e 67 20 61 20 5c 6e 65 | By addi|ng a \ne|
|00000bf0| 77 70 61 67 65 20 6a 75 | 73 74 20 62 65 66 6f 72 |wpage ju|st befor|
|00000c00| 65 20 74 68 65 20 64 69 | 61 67 72 61 6d 20 69 6e |e the di|agram in|
|00000c10| 0a 25 20 71 75 65 73 74 | 69 6f 6e 20 74 68 65 20 |.% quest|ion the |
|00000c20| 75 73 65 72 20 63 61 6e | 20 70 72 65 76 65 6e 74 |user can| prevent|
|00000c30| 20 73 75 63 68 20 75 6e | 77 61 6e 74 65 64 20 72 | such un|wanted r|
|00000c40| 65 66 65 72 65 6e 63 65 | 73 2e 0a 5c 6e 65 77 63 |eference|s..\newc|
|00000c50| 6f 75 6e 74 65 72 7b 64 | 69 61 67 72 61 6d 6e 72 |ounter{d|iagramnr|
|00000c60| 7d 0a 5c 6e 65 77 63 6f | 6d 6d 61 6e 64 7b 5c 44 |}.\newco|mmand{\D|
|00000c70| 69 61 67 72 61 6d 7d 7b | 24 24 20 5c 73 65 74 6c |iagram}{|$$ \setl|
|00000c80| 65 6e 67 74 68 7b 5c 75 | 6e 69 74 6c 65 6e 67 74 |ength{\u|nitlengt|
|00000c90| 68 7d 7b 31 70 74 7d 0a | 20 20 20 20 20 20 5c 62 |h}{1pt}.| \b|
|00000ca0| 65 67 69 6e 7b 70 69 63 | 74 75 72 65 7d 28 31 36 |egin{pic|ture}(16|
|00000cb0| 30 2c 31 36 30 29 0a 20 | 20 20 20 20 20 20 20 20 |0,160). | |
|00000cc0| 5c 70 75 74 28 2d 35 2c | 31 34 30 29 7b 5c 6d 61 |\put(-5,|140){\ma|
|00000cd0| 6b 65 62 6f 78 28 30 2c | 30 29 5b 72 5d 7b 5c 65 |kebox(0,|0)[r]{\e|
|00000ce0| 6d 5c 74 68 65 64 69 61 | 67 72 61 6d 6e 72 7d 7d |m\thedia|gramnr}}|
|00000cf0| 0a 20 20 20 20 20 20 20 | 20 20 5c 70 75 74 28 30 |. | \put(0|
|00000d00| 2c 30 29 7b 5c 6d 61 6b | 65 62 6f 78 28 31 36 30 |,0){\mak|ebox(160|
|00000d10| 2c 31 36 30 29 7b 5c 73 | 68 6f 77 62 6f 61 72 64 |,160){\s|howboard|
|00000d20| 7d 7d 0a 20 20 20 20 20 | 20 5c 65 6e 64 7b 70 69 |}}. | \end{pi|
|00000d30| 63 74 75 72 65 7d 0a 20 | 20 20 24 24 7d 0a 5c 6e |cture}. | $$}.\n|
|00000d40| 65 77 65 6e 76 69 72 6f | 6e 6d 65 6e 74 7b 64 69 |ewenviro|nment{di|
|00000d50| 61 67 72 61 6d 7d 7b 5c | 62 65 67 69 6e 7b 6e 6f |agram}{\|begin{no|
|00000d60| 63 68 65 73 73 7d 7d 7b | 5c 61 64 64 74 6f 63 6f |chess}}{|\addtoco|
|00000d70| 75 6e 74 65 72 7b 64 69 | 61 67 72 61 6d 6e 72 7d |unter{di|agramnr}|
|00000d80| 7b 31 7d 0a 20 20 20 25 | 20 64 6f 65 73 20 74 68 |{1}. %| does th|
|00000d90| 65 20 64 69 61 67 72 61 | 6d 20 66 69 74 3f 0a 20 |e diagra|m fit?. |
|00000da0| 20 20 5c 70 61 72 5c 62 | 65 67 69 6e 7b 66 69 67 | \par\b|egin{fig|
|00000db0| 75 72 65 7d 5b 68 74 62 | 5d 5c 44 69 61 67 72 61 |ure}[htb|]\Diagra|
|00000dc0| 6d 5c 65 6e 64 7b 66 69 | 67 75 72 65 7d 0a 20 20 |m\end{fi|gure}. |
|00000dd0| 20 5c 69 66 78 5c 40 64 | 65 66 65 72 6c 69 73 74 | \ifx\@d|eferlist|
|00000de0| 5c 40 65 6d 70 74 79 5c | 65 6c 73 65 0a 20 20 20 |\@empty\|else. |
|00000df0| 20 20 20 5c 63 65 6e 74 | 65 72 6c 69 6e 65 7b 5c | \cent|erline{\|
|00000e00| 65 6d 20 28 44 69 61 67 | 72 61 6d 7e 5c 74 68 65 |em (Diag|ram~\the|
|00000e10| 64 69 61 67 72 61 6d 6e | 72 29 7d 0a 20 20 20 5c |diagramn|r)}. \|
|00000e20| 66 69 0a 20 20 20 5c 65 | 6e 64 7b 6e 6f 63 68 65 |fi. \e|nd{noche|
|00000e30| 73 73 7d 7d 0a 5c 6e 65 | 77 63 6f 6d 6d 61 6e 64 |ss}}.\ne|wcommand|
|00000e40| 7b 5c 66 69 6e 69 74 6f | 7d 5b 32 5d 7b 7b 5c 62 |{\finito|}[2]{{\b|
|00000e50| 66 5c 68 66 69 6c 6c 23 | 31 5c 68 66 69 6c 6c 5b |f\hfill#|1\hfill[|
|00000e60| 23 32 5d 5c 70 61 72 7d | 7d 0a 5c 72 65 73 65 74 |#2]\par}|}.\reset|
|00000e70| 61 74 0a 0a 5c 73 65 74 | 6c 65 6e 67 74 68 7b 5c |at..\set|length{\|
|00000e80| 70 61 72 69 6e 64 65 6e | 74 7d 7b 30 70 74 7d 0a |parinden|t}{0pt}.|
|00000e90| 5c 73 65 74 63 6f 75 6e | 74 65 72 7b 64 69 61 67 |\setcoun|ter{diag|
|00000ea0| 72 61 6d 6e 72 7d 7b 30 | 7d 0a |ramnr}{0|}. |
+--------+-------------------------+-------------------------+--------+--------+